package com.itheima.health.dao;

import com.itheima.health.pojo.Member;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

@Mapper
public interface MemberDao {
    Member selectByPhoneNumber(String phoneNumber);

    void updateByIdSelective(Member member);

    void insert(Member member);

    Member selectById(Integer id);

    Long countByRegTimeRange(@Param("startDate") Date startDate, @Param("endDate") Date endDate);

}
